>

Introduction to C#

How to start a new project

From the main menu click on New Project and then give a name to your project, for example the default, WpfApp1, and then click Ok or press Enter. The following screen opens up to start the newly created application.

A Visual C# application project starts with creating its GUI with Designer, Toolbox, and Property window. In the Designer, an empty form is automatically created where:

The rules for naming controls are illustrated here

Introduction to C# programming

GUI applications are event-driven which means they interact with users. An event is a user's action including mouse clicking and key pressing.

Double clicking a control, such as Button, will link the control to a default Event Handler